package com.kanshu.utils;

/**
 * @author GAIst
 * ClassName StringUtil.java
 * From
 * Description OK
 * createTime 2024年12月20日14:32:26
 */
public class StringUtil {
    public static String getStringWithoutNumber(String str){
        return str.replaceAll("\\d", "");
    }

    public static boolean hasDownload(String str){
        return str.contains("DOWNLOADNOVEL");
    }

    public static boolean hasRead(String str){
        return str.contains("READNOVEL");
    }
    public static boolean hasReadAll(String str){
        return str.contains("READNOVELALL");
    }
    public static boolean hasReadFristPage(String str){
        return str.contains("READNOVELFRIST");
    }
    public static boolean hasUploadNovel(String str){
        return str.contains("UPLOADNOVEL");
    }
}
